package manager
{
	import view.bullet.ABullet;
	import view.bullet.BBullet;
	import view.bullet.CBullet;
	import view.bullet.DBullet;
	import view.bullet.EBullet;
	import view.bullet.FBullet;
	import view.bullet.GBullet;

	public class BulletName
	{
		public static const A_BULLET:String = "A";
		
		public static const B_BULLET:String = "B";
		
		public static const C_BULLET:String = "C";
		public static const D_BULLET:String = "D";
		public static const E_BULLET:String = "E";
		public static const F_BULLET:String = "F";
		public static const G_BULLET:String = "G";
		
		public static function getBulletCls(_name:String):Class{
			var cls:Class;
			switch(_name){
				case A_BULLET:
					cls = ABullet;
					break;
				case B_BULLET:
					cls = BBullet;
					break;
				case C_BULLET:
					cls = CBullet;
					break;
				case D_BULLET:
					cls = DBullet;
					break;
				case E_BULLET:
					cls = EBullet;
					break;
				case F_BULLET:
					cls = FBullet;
					break;
				case G_BULLET:
					cls = GBullet;
					break;
			}
			return cls;
		}
	}
}